import java.util.Scanner;

public class Test2_4 {
    public static void main(String[] args) {
        // 构造Scanner对象，并和标准输入流System.in关联
        Scanner input = new Scanner(System.in);
        // 提示用户输入
        System.out.println("Enter a number in pounds:");
        // 读取一个double型数据
        double pounds = input.nextDouble();
        // 通过表达式计算结果
        double kilogram = pounds * 0.305;
        // 精确三位小数输出
        System.out.print(pounds);
        System.out.printf(" pounds is %.3f kilograms", kilogram);
    }
}
